package com.example.film.mapper;

import com.example.film.entity.ReadyFilm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReadyFilmMapper {
    //即将上映的电影table-->readyfilm
    //即将上映的电影信息
    @Select("select name,link,picture,filmDate,type,director,star from readyfilm")
    List<ReadyFilm> findReadyFilm();
}
